﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Sinacor.UI.Bovespa.Ordens.Communication.Bovespa.Cliente.Cliente;
using Sinacor.Infra.UI.Common;
using Sinacor.Infra.Common;

namespace Sinacor.UI.Bovespa.Ordens.Communication.Translator
{
    class TranslatorConsultarClientePorCodigoRequest : 
     BaseTranslator<ConsultarClientePorCodigoRequest, 
     Model.Parameter.ConsultarClientePorCodigoRequest, 
     List<ConsultarClientePorCodigoRequest>, 
     ModelCollection<Model.Parameter.ConsultarClientePorCodigoRequest>>
    {

    public override ConsultarClientePorCodigoRequest Translate(Model.Parameter.ConsultarClientePorCodigoRequest from)
    {
        ConsultarClientePorCodigoRequest to = new ConsultarClientePorCodigoRequest();
        to.CodigoCliente = from.CodigoCliente;
        return to;
    }
}
}
